const { adminsModel } = require("./models/adminsModel");

module.exports.adminsLogin = async function (loginUser) {
    const { account, password } = loginUser;
    console.log(loginUser);
    let logins = await adminsModel.find({ account, password})

    return logins
}

